package cm.cool.web.data;

import org.apache.ibatis.annotations.Mapper;

import cm.cool.web.bean.Wallet;

@Mapper
public interface WalletMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Wallet record);

    int insertSelective(Wallet record);

    Wallet selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Wallet record);

    int updateByPrimaryKey(Wallet record);
    
    /**
     * 查询指定币种的总数量
     * @param record
     * @return
     */
    long selectBzCount(Wallet record);
}